.chat-list-container {
  width: 100vw;
  height: 100vh;
  background-color: #f6f6f6;

  .list-scroll-view {
    width: 100vw;
    height: fit-content;

    .top-list-container {
      width: 100vw;
      height: fit-content;
      background-color: #fff;
      border-radius: 30rpx;
      margin-bottom: 20rpx;
      padding: 40rpx 20rpx;
      display: flex;
      flex-direction: row;

      .btn-container {
        flex: 1;
        margin: 0 30rpx;
        text-align: center;

        .btn-icon-container {
          width: 90rpx;
          height: 90rpx;
          margin: 0 auto 20rpx;
          pointer-events: none;

          .btn-icon {
            width: 100%;
            height: 100%;
            display: flex;
            flex-direction: row;
            justify-content: center;
            align-items: center;
            border-radius: 150%;
            font-size: 42rpx;
          }

          .like {
            color: #f4756b;
            background-color: #fff1f0;
          }

          .comment {
            color: #02d0a1;
            background-color: #edfcf8;
          }

          .fans {
            color: #649cfd;
            background-color: #ebf1ff;
          }

          .notice {
            color: #fda304;
            background-color: #fdf7eb;
          }

          .btn-unread {
            width: fit-content;
            min-width: 32rpx;
            height: 32rpx;
            padding: 0 8rpx;
            position: relative;
            top: -100rpx;
            left: 60rpx;
            background-color: #f35b56;
            color: #fff;
            line-height: 32rpx;
            text-align: center;
            font-size: 22rpx;
            border-radius: 150rpx;
          }
        }

        .btn-title {
          font-size: 26rpx;
          color: #333;
        }
      }
    }

    .main-list-container {
      width: 100vw;
      height: fit-content;
      background-color: #fff;
      border-radius: 30rpx;
      padding-bottom: 0;
      padding-bottom: constant(safe-area-inset-bottom);
      padding-bottom: env(safe-area-inset-bottom);

      .message-container {
        width: 100vw;
        height: 150rpx;
        background-color: #fff;
        padding: 0 30rpx;
        display: flex;
        flex-direction: row;
        border-top: 1rpx solid #f6f6f6;

        .avatar-container {
          width: 120rpx;
          height: 100%;
          margin-top: 30rpx;
          pointer-events: none;

          .avatar {
            width: 90rpx;
            height: 90rpx;
            border-radius: 150rpx;
            background-color: #f6f6f6;
            overflow: hidden;

            image {
              width: 100%;
              height: 100%;
            }
          }
        }

        .content-container {
          margin: auto 0;
          flex: 1;
          overflow: hidden;
          white-space: nowrap;
          pointer-events: none;

          .sender-name {
            display: flex;
            flex-direction: row;

            .name {
              max-width: calc(100% - 110rpx);
              font-size: 32rpx;
              line-height: 50rpx;
              color: #333;
              text-overflow: ellipsis;
              overflow: hidden;
            }

            .blacklist-user {
              width: fit-content;
              height: 28rpx;
              position: relative;
              top: 12rpx;
              margin-left: 15rpx;
              padding: 0 10rpx;
              font-size: 20rpx;
              line-height: 28rpx;
              color: #fff;
              border-radius: 30rpx;
              background-color: #f4756b;
            }
          }

          .message-content {
            overflow: hidden;
            font-size: 26rpx;
            line-height: 50rpx;
            color: #999999;
          }
        }

        .time-container {
          width: fit-content;
          height: fit-content;
          margin-top: 30rpx;
          margin-left: auto;
          pointer-events: none;

          .time {
            margin-bottom: 20rpx;
            font-size: 24rpx;
            color: #999999;
          }

          .unread {
            width: fit-content;
            min-width: 32rpx;
            height: 32rpx;
            padding: 0 8rpx;
            background-color: #f35b56;
            color: #fff;
            text-align: center;
            font-size: 22rpx;
            line-height: 32rpx;
            border-radius: 150rpx;
            font-weight: bold;
            float: right;
          }

          .isread {
            min-width: 40rpx;
            height: 40rpx;
            float: right;
          }
        }

        &:first-child {
          border-top: none;
          border-radius: 30rpx 30rpx 0 0;
        }

        &:last-child {
          border-radius: 0 0 30rpx 30rpx;
        }
      }

      .load-more {
        width: 100%;
        height: fit-content;
        margin-top: 30rpx;
        padding-bottom: 70rpx;
        background-color: #fff;
        border-radius: 30rpx;
        color: $uni-text-color-placeholder;
        font-size: 28rpx;
        text-align: center;

        text {
          margin-left: 10rpx;
        }
      }

      .loading-more {
        height: 150rpx;
        padding-bottom: 0;
        margin-top: 0;
      }

      .empty {
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        text-align: center;

        .row {
          width: 100%;
          padding: 8rpx 0;
          display: flex;
          flex-direction: row;
          justify-content: center;
          font-size: 26rpx;
          color: #888;
        }

        .btn {
          width: fit-content;
          height: fit-content;
          margin: 10rpx 0 10rpx 20rpx;
          padding: 10rpx 24rpx;
          font-size: 28rpx;
          line-height: unset;
          border-radius: 100rpx;
          background-color: #f4756b;
          color: #fff;
        }
      }
    }
  }
}